package com.sc.nft.controller.request;

import com.sc.nft.enums.MallOrderRefundTypeEnum;
import com.sc.nft.enums.RefundReasonEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@Data
public class RefundValuationRequest {

    @ApiModelProperty(value = "订单id")
    @NotNull(message = "订单id不能为空")
    private Long id;

    @ApiModelProperty(value = "订单商品id")
    @NotNull(message = "订单商品id不能为空")
    private Long orderProductId;

    @ApiModelProperty(value = "退款数量")
    @Range(min = 1, max = 99999, message = "退款数量取值范围不正确")
    private Integer count;

}
